<style type="text/css">
.wizard.wizard-wired ul li{
	width: 16.6%;
}
</style>
<div class="row">
  <div class="col-lg-2"> 
  <a href="/space/{echo $task['uid']}">{echo GetAvatarSimple($task['uid'],120)}</a>
  </div>
  <div class="col-lg-10">
    <div class="row">
      <div class="col-lg-12">
        <h2><span class="label label-info">{echo $task['username']}</span> <a href="/task/{echo $id}">{echo $task['subject']}</a></h2>
        <div class="task_money"> <span class="reward"> {if $task['task_mode']==2}招 标{else}悬 赏{/if}</span> <span class="money"><i class="fa fa-cny"></i>{echo number_format($task['money']/100,2)} </span> 
        {if !$task['cid']}
            <span>未托管</span>  <span class="money"> </span>
        {else}
        <span>已托管</span> <span class="money"><i class="fa fa-cny"></i>{if $task['task_mode']==2}{echo number_format($order['offer'],2)}{else}{if $task['process_time_1']}{echo number_format($task['money']/100,2)}{else}0{/if}{/if}</span> 
        {/if}
        </div>
        <div class="task_mode"> <i class="fa fa-circle-o"></i> <span>交易模式：单人悬赏   赏金分配：一人独享该赏金 </span> </div>
        <div class="col-lg-12">
          <div class="row">
            <div class="col-lg-7">
              <div class="row"> <i class="fa fa-clock-o"></i> <span id="TaskTime"><span id="nowtime_0" value="{}">投稿截止：</span><span id="endtime_0" value="{echo $task['endtime']}" class="endtime"><span id="d_0">0</span> 天 <span id="h_0">0</span> 时 <span id="i_0">0</span> 分 <span id="s_0">0</span> 秒</span></span></div>
            </div>
            <div class="col-lg-5">
              <div class="text-right"><a href="javascript:void(0);" onclick="SubmitFavorites({echo $id});" data-original-title="喜欢" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-heart"></i></a> <a href="javascript:void(0);" onclick="PostReport({echo $id},0,1);" data-original-title="举报" data-toggle="tooltip" class="btn btn-default btn-circle btn-xs"><i class="fa fa-bookmark"></i></a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="row col-pt-10">
  <div data-target="#WiredWizardsteps" class="wizard wizard-wired" id="WiredWizard">
    <ul class="steps">
    {if $processorderarr}
    		{foreach $processorderarr $processkey=>$processname}
         		 <li{if $task['process_time_'.$processkey]} class="complete"{/if} data-target="#wiredstep{echo $processkey}"><span class="step">{echo $processkey}</span><span class="title">{echo $processname}</span><span class="time">{if $task['process_time_'.$processkey]>0}{echo FormatDate('Y.m.d',$task['process_time_'.$processkey])}{/if}</span><span class="chevron"></span></li>
          {/foreach}
    {/if}
 
    </ul>
  </div>
</div>

<script>

$(function(){ 
	endtime("#TaskTime");
}); 

</script>